package chances.wechat.model;

import chances.wechat.api.TokenSet;

public class WechatLoginEvent {

	private WechatToken wechatToken;
	
	private String type;
	
	private String state;
	
	private TokenSet tokenSet;
	
	private String openId;
	
	private String token;
	
	public WechatLoginEvent(WechatToken weixinToken, String type, String state, 
			TokenSet tokenSet, String openId, String token) {
		super();
		this.wechatToken = weixinToken;
		this.type = type;
		this.state = state;
		this.tokenSet = tokenSet;
		this.openId = openId;
		this.token = token;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	

	public WechatToken getWechatToken() {
		return wechatToken;
	}

	public void setWechatToken(WechatToken wechatToken) {
		this.wechatToken = wechatToken;
	}

	public TokenSet getTokenSet() {
		return tokenSet;
	}

	public void setTokenSet(TokenSet tokenSet) {
		this.tokenSet = tokenSet;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	
}
